<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<t:layout title="New Seller - Instasale">

    <form:form method="post" action="/sellers/new.html" modelAttribute="seller">
        <legend>Add seller:</legend>
        <form:label path="title">Title</form:label>
        <form:input path="title"/>
        <form:errors path="title" cssClass="help-inline"/>
        <hr/>
        <input type="submit" value="Add" class="btn btn-large btn-success"/>
    </form:form>

</t:layout>
